package cn.getword.cnblogs.entity;

import com.google.common.collect.Lists;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.util.List;

/**
 * @Description //TODO 人员信息实体类
 * @Author zhuxiang
 * @Date 21:30 2020/4/16
 * @Param
 * @return
 **/
@Setter
@Getter
public class User extends CoreEntity {
	private static final long serialVersionUID = 1L;

	private String strSn;

	private String strAccount;

	private String strName;

	private String strNickName;

	private String strPassword;

	private String plainPassword;

	private String strSalt;

	private String strPhone;

	private String strEmail;
	
	private String intLevel;

	private String strLinePhone;

	private Integer intLoginNum;

	/**
	 * 使用状态disabled，enabled
	 */
	private String strStatus = "enabled";

	private List<UserRole> userRoles = Lists.newArrayList();

	private String token;
	
}
